package com.hschinese.pronunciation.bean;

/**
 * Created by wo on 2015/10/29.
 * 数据本地存储的数据格式
 */
public class AppDataBean extends BaseBean{
    private int id = -1;
    private String chinese = "null";
    private String pinyin = "null";
    private String phone = "null";
    private String tone = "null";
    private String audioName = "null";
    private String picName = "null";
    private int type = -1;
    private int groupID = -1;
    private int weight = -1;

    public String getChinese() {
        return chinese;
    }

    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTone() {
        return tone;
    }

    public void setTone(String tone) {
        this.tone = tone;
    }

    public String getAudioName() {
        return audioName;
    }

    public void setAudioName(String audioName) {
        this.audioName = audioName;
    }

    public String getPicName() {
        return picName;
    }

    public void setPicName(String picName) {
        this.picName = picName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getGroupID() {
        return groupID;
    }

    public void setGroupID(int groupID) {
        this.groupID = groupID;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public void setId(int i) { id = i; }

    public int getId() { return id; }

    @Override
    public String toString() {
        return "chinese: " + chinese + " -- pinyin: " + pinyin
                + " -- phone: " + phone  + " -- tone: " + tone
                + " -- audioName: " +  audioName + " -- picName: " + picName
                + " -- type: " + type  + " -- groupID: " + groupID
                + " -- weight: " + weight + " -- id: " + id;
    }
}
